<template>
  <div class="login-container">
    <div class="login-form">
      <h2>Web3量化交易系统</h2>
      <p>登录页面开发中...</p>
      <el-button type="primary" @click="handleLogin">进入系统</el-button>
    </div>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";

const router = useRouter();

const handleLogin = () => {
  router.push("/dashboard");
};
</script>

<style lang="scss" scoped>
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(
    135deg,
    var(--el-color-primary) 0%,
    var(--el-color-primary-dark-2) 100%
  );

  .login-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    h2 {
      margin-bottom: 24px;
      color: var(--el-text-color-primary);
    }

    p {
      margin-bottom: 24px;
      color: var(--el-text-color-regular);
    }
  }
}
</style>
